<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns the error code of the previous operation</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.yp-errno" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">yp_errno</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.6, PHP 5 &lt; 5.1.0)</p><p class="refpurpose"><span class="refname">yp_errno</span> &mdash; <span class="dc-title">Returns the error code of the previous operation</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.yp-errno-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>yp_errno</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   Returns the error code of the previous operation.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.yp-errno-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns one of the <em>YPERR_XXX</em> error constants.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.yp-errno-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="yp_err_string.html" class="function" rel="rdfs-seeAlso">yp_err_string()</a> - Returns the error string associated with the given error code</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>